package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.DeviceGroup;
import com.xjscrm.console.param.wwDevice.DeviceGroupQuery;
import com.xjscrm.console.vo.DeviceGroupVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeviceGroupMapper {


    List<DeviceGroupVo> getDeviceGroupList( DeviceGroupQuery deviceGroupQuery);

    DeviceGroup getDeviceGroupById(@Param("id") Long id, @Param("merId") Long merId);


    int addDeviceGroup(DeviceGroup deviceGroup);

    int deleDeviceGroup(@Param("id") Long id, @Param("merId") Long merId);

    int updateDeviceGroup(DeviceGroup deviceGroup);
}
